package com.djz.stuinfomge.service;

import java.util.List;

import com.djz.stuinfomge.entity.PageBean;
import com.djz.stuinfomge.entity.Student;
import com.djz.stuinfomge.exception.PageNumOutOfRange;
import com.djz.stuinfomge.service.BaseService;

public interface StudentService extends BaseService<Student> {

	List getStudentByName(String name);

	PageBean<Student> getPage(Integer id, Integer size, Student bean) throws PageNumOutOfRange;
	//根据条件获取单个Student实例
	Student get(Student bean);
}
